import React, { Component } from 'react';
import { Button } from 'antd';
import SA from 'superagent';

import Config from '../config/config.js';

class Index extends Component {
    constructor(props) {
        super(props);

    }

    componentDidMount() {
        console.log(Config)
        SA.get(Config.getDataPath('expresslist'))
            .withCredentials()
            .end((...res) => {
                console.log(res)
            })
    }

    render() {
        return (
            <div>
                <h2>快递公司</h2>
            </div>
        );
    }
}


export default Index;